import os
import shutil

path = '/home/kai/视频/抖音/下跪'
count = 40000

# os.path.join() 将目录和文件名合成一个路径

for files in os.listdir(path):
    os.rename( os.path.join(path, files), os.path.join(path, 'video'+str(count)+'.mp4'))
    count += 1
